home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6604 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.lang.c
  2. Path: uu4news.netcom.com!zodiac!szh
  3. From: szh@zcon.com (Syed Zaeem Hosain)
  4. Subject: Re: && operator question
  5. Message-ID: <1996Feb15.174541.13378@zcon.com>
  6. Sender: szh@zcon.com (Syed Zaeem Hosain)
  7. Nntp-Posting-Host: zodiac
  8. Reply-To: szh@zcon.com
  9. Organization: Z Consulting Group
  10. References: <4fu69a$b7e@sphinx.Gsu.EDU>
  11. Date: Thu, 15 Feb 1996 17:45:41 GMT
  12.  
  13. In article <4fu69a$b7e@sphinx.Gsu.EDU>, gs01maj@panther.Gsu.EDU (Matthew A Johnson) writes:
  14. >if(expression1 && expression2)
  15. >     some statement;
  16. >
  17. >My question is, if expression1 is false will expression2 get evaluated at 
  18. >all?
  19.  
  20. No.
  21.  
  22. This is pretty straightforward, and I would think that the answer can
  23. be found in any decent book on ANSI C. Also look in the comp.lang.c FAQ
  24. and look at questions 3.4 and 3.5 and their answers.
  25.  
  26.                                 Z
  27.  
  28. -- 
  29. -------------------------------------------------------------------------
  30. | Syed Zaeem Hosain          P. O. Box 610097            (408) 441-7021 |
  31. | Z Consulting Group        San Jose, CA 95161             szh@zcon.com |
  32. -------------------------------------------------------------------------
  33.